Mobile-device testing